package com.itcast.infohide.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itcast.infohide.entity.OperateLogPO;
import com.itcast.infohide.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OperateLogMapper extends BaseMapper<OperateLogPO> {

    int insertOne(OperateLogPO op);

    List<OperateLogPO> selectByFlag(@Param("isEmbed") Integer isEmbed);
}
